﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace ywxt.NewsPush.Models
{
    public class clsPagerSettings
    {
        /// <summary>
        /// 当前页索引，以1开始
        /// </summary>
        public int currentPage { get; set; }

        /// <summary>
        /// 所有的记录总数
        /// </summary>
        public int totalItems { get; set; }

        /// <summary>
        /// 每页的记录数
        /// </summary>
        public int pageSize { get; set; }

        /// <summary>
        /// 显示的链接数
        /// </summary>
        public int numberOfLinks { get; set; }

        public clsPagerSettings()
        {
            currentPage = 1;
            pageSize = 20;
            numberOfLinks = 5;
        }
    }
}